#include "../inc/Car_pri.h"
#include "../../ooc/inc/class_portion.c"


#define _Car     CP_MC_FNAME


static void move(OOC_PEN(IMOVEABLE_PKG, IMoveable)* cthis) ;


static _Car* CPortion_default_init(_Car* cthis){
    assert(MNULL != cthis);
    OOC_PUB_BLOCK_TNAME(_Car)* pPubBlock = OOC_GET_PUB_BLOCK(cthis, CP_MC_PKG, CP_MC_TYPE); 
    
    cthis->IMoveable.move = move;
    
    return cthis;
}
//======================================================
static void Cportion_finalize(_Car* cthis){
    //void
}
//......

static void move(OOC_PEN(IMOVEABLE_PKG, IMoveable)* cthis) {
    printf("move: 汽车在开动！\n");
}

